org.apache.uima
Class TokenAnnotation

java.lang.Object
  extended by Annotation
      extended by org.apache.uima.TokenAnnotation

public class TokenAnnotation
extends Annotation

Updated by JCasGen Wed Feb 25 09:07:28 CET 2009 XML source: D:/workspaces/mymedia/MyMediaUIMA/descriptors/annotators/InfGainAnnotator.xml


Field Summary
static int type
           
static int typeIndexID
           
 
Constructor Summary
protected TokenAnnotation()
          Never called.
  TokenAnnotation(int addr, TOP_Type type)
          Internal - constructor used by generator
  TokenAnnotation(JCas jcas)
           
  TokenAnnotation(JCas jcas, int begin, int end)
           
 
Method Summary
 java.lang.String getLemma()
          getter for lemma - gets
 java.lang.String getPos()
          getter for pos - gets
 java.lang.String getTokentype()
          getter for tokentype - gets word or punctuation
 int getTypeIndexID()
           
 void setLemma(java.lang.String v)
          setter for lemma - sets
 void setPos(java.lang.String v)
          setter for pos - sets
 void setTokentype(java.lang.String v)
          setter for tokentype - sets word or punctuation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

TokenAnnotation

protected TokenAnnotation()
Never called. Disable default constructor


TokenAnnotation

public TokenAnnotation(int addr,
                       TOP_Type type)
Internal - constructor used by generator


TokenAnnotation

public TokenAnnotation(JCas jcas)

TokenAnnotation

public TokenAnnotation(JCas jcas,
                       int begin,
                       int end)
Method Detail

getTypeIndexID

public int getTypeIndexID()

getLemma

public java.lang.String getLemma()
getter for lemma - gets


setLemma

public void setLemma(java.lang.String v)
setter for lemma - sets


getTokentype

public java.lang.String getTokentype()
getter for tokentype - gets word or punctuation


setTokentype

public void setTokentype(java.lang.String v)
setter for tokentype - sets word or punctuation


getPos

public java.lang.String getPos()
getter for pos - gets


setPos

public void setPos(java.lang.String v)
setter for pos - sets